package org.skipper.ai.config;

import lombok.extern.slf4j.Slf4j;
import org.skipper.ai.AiClient;
import org.skipper.ai.impl.AiClientImpl;
import org.skipper.ai.strategy.domain.aliyun.AliyunAiProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description: TODO
 *
 * @author shoujian
 * Date: 2025-10-10
 * Time: 16:40
 */
@Configuration
@Slf4j
public class AiAutoConfiguration  {

    @Bean
    @ConditionalOnMissingBean
    public AiClient registerAiClient() {
        AiClientImpl aiClient = new AiClientImpl();
        return aiClient;
    }

}
